<!DOCTYPE html>
<html lang="zh-CN" xmlns:wb="http://open.weibo.com/wb">

<head>
<meta charset="utf-8">
<title>{$pageTitle}-{:C('WEB_SITE_NAME')}，码出属于自己的天空</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<meta property="qc:admins" content="11670231027166526316110063757" />
    
<meta name="keywords" content="{:C('WEB_SITE_NAME')},java,javascript,算法,程序员,程序开发,博客,Linux,前端开发,MacBook,苹果电脑">
<meta name="description" content="事无巨细，集腋成裘！每个程序员都应该有属于自己的一变天地。。">
<meta name="author" content="ubuntuvim,1527254027@qq.com">
<meta name="robots" content="index,follow">
<meta name="baidu-site-verification" content="bGNKDw4egt" />


<!-- 新 Bootstrap 核心 CSS 文件 -->
<!--<link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap.min.css">-->
 <!-- Loading Bootstrap -->
<link href="__PUBLIC__/FlatUI/css/vendor/bootstrap.min.css" rel="stylesheet">

<!-- Loading Flat UI -->
<link href="__PUBLIC__/FlatUI/css/flat-ui.css" rel="stylesheet">


<link rel="shortcut icon" href="__PUBLIC__/images/logo/1155606.png">

<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
  <script src="__PUBLIC__/FlatUI/js/vendor/html5shiv.js"></script>
  <script src="__PUBLIC__/FlatUI/js/vendor/respond.min.js"></script>
<![endif]-->

  <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="__PUBLIC__/FlatUI/js/vendor/jquery.min.js"></script>
<!--<script src="__PUBLIC__/js/common/jquery.color.js"></script>-->

<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="__PUBLIC__/FlatUI/js/flat-ui.min.js"></script>

<script src="__PUBLIC__/js/home/login_register.js"></script>
<!--  新浪微博第三方登录插件  -->
<!--<script src="http://tjs.sjs.sinajs.cn/open/api/js/wb.js?appkey=670979742" type="text/javascript" charset="utf-8"></script>-->
<!--<script src="http://tjs.sjs.sinajs.cn/open/api/js/wb.js" type="text/javascript" charset="utf-8"></script>-->
<script src="__PUBLIC__/js/oauth2/wb.js?appkey=670979742&debug=true" type="text/javascript" charset="utf-8"></script>
<!-- 腾讯qq第三方登录插件 -->
<script type="text/javascript" src="__PUBLIC__/js/oauth2/qq-oauth2.js"></script>

<!-- 引入打开页面显示圈圈的效果js -->
<!--
<script src="__PUBLIC__/js/page-effect/classie.js"></script>
<script src="__PUBLIC__/js/page-effect/snap.svg-min.js"></script>
<script src="__PUBLIC__/js/page-effect/svgLoader.js"></script>
<script src="__PUBLIC__/js/page-effect/my-defined-effect.js"></script>
-->
<!-- 引入多说评论插件，为了能在duoshuoplagin.js 里使用常量，定义为 hidden 之后在 js 中获取 -->
<input type="hidden" name="WEB_SITE_HOST_NAME" id="WEB_SITE_HOST_NAME_ID" value="{:C('WEB_SITE_HOST_NAME')}" />
<script src="__PUBLIC__/js/duoshuo/duoshuoplagin.js"></script>
<!--  引入jQuery动画插件  -->
<script src="http://cdn.bootcss.com/jquery-easing/1.3/jquery.easing.min.js"></script>
    
<!--  自定义css  -->
<link rel="stylesheet" href="__PUBLIC__/css/index.css">
<link rel="stylesheet" href="__PUBLIC__/css/right-meun.css">
<!-- 自定义的响应式样式必须要放在index，否则不能覆盖原有的样式 -->    
<link rel="stylesheet" href="__PUBLIC__/css/home-responsive.css"> <!-- 自定义的响应式样式 -->
    
<!-- 引入打开页面显示圈圈的效果css -->
<!--<link rel="stylesheet" href="__PUBLIC__/css/page-effect/my-effect-style.css">-->

<!-- 引入右侧的工具栏样式 -->    
<script type="application/javascript" src="__PUBLIC__/js/right-tools/popwin.js"></script>
<link rel="stylesheet" href="__PUBLIC__/css/right-tools/zzsc.css">

<!-- 
引入代码显示插件（在博客页面显示有行数的代码片段）
参考：http://alexgorbatchev.com/SyntaxHighlighter/manual/installation.html
 -->
<!-- <script type="text/javascript" src="__PUBLIC__/SyntaxHighlighter/brush.js"></script>
<link type="text/css" rel="stylesheet" href="__PUBLIC__/SyntaxHighlighter/shCore.css"/>
<link type="text/css" rel="stylesheet" href="__PUBLIC__/SyntaxHighlighter/shThemeDefault.css"/>
  -->
<!-- 
<style type="text/css">
.img-max{width:100%;height:auto;}
.img-min{width:auto;height:auto;}
</style> 
-->
</head>
<?php

    $currentURLduoshuo = 'http';
    if ($_SERVER["HTTPS"] == "on") {
        $currentURLduoshuo .= "s";
    }
    $currentURLduoshuo .= "://";
    if ($_SERVER["SERVER_PORT"] != "80") {
        $currentURLduoshuo .= $_SERVER["SERVER_NAME"] . ":" . $_SERVER["SERVER_PORT"] . $_SERVER["REQUEST_URI"];
    } else {
        $currentURLduoshuo .= $_SERVER["SERVER_NAME"] . $_SERVER["REQUEST_URI"];
    }
?>
<input type="hidden" value="{$currentURLduoshuo}" name="CURRENT_URL" id="CURRENT_URL_ID">

<!-- Static navbar -->
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
  <div class="container">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
        <span class="sr-only">Toggle navigation</span>
      </button>
      <a class="navbar-brand" href="{:C('WEB_SITE_HOST_NAME')}">
          <img src="__PUBLIC__/images/logo/1155606.png" style="margin:0; padding:0;margin-top:-5px;" height="32px" width="32px">
          <font style="font-weight: bold; font-family: monospace;" class="logotext320noshow and1000-768noshow">{:C('WEB_SITE_NAME')}</font>
        </a>
    </div>
    <div class="navbar-collapse collapse">
      <ul class="nav navbar-nav">
          <li class=""><a href="{:U('Home/Index/index')}"><span class="glyphicon glyphicon-home"></span> 主页</a></li>
          
          <li class="dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-pencil"></span> 笔记 <b class="caret"></b></a>
              <ul class="dropdown-menu">
                  <volist name="typeList" id="vo">
                      <li>
                          <a href="{:U('Home/Index/index', array('cont_type' => $vo['type_no']))}" class="">{$vo.type_name}</a>
                      </li>
                  </volist>
              </ul>
          </li>

        	<!-- 2015-08-22 去掉这个模块，没什么卵用！！
         <li>
          <a href="{:U('Home/Discussion/index')}">
          <span class="glyphicon glyphicon-comment"></span> 讨论</a>
        </li>
		-->

        <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                <span class="glyphicon glyphicon-tasks"></span> Todos <b class="caret"></b></a>
            <ul class="dropdown-menu">
              <li>
                <!-- 
					对于还没使用第三方登录的用户提示登录{:U('Home/Discussion/commonFormNoLogin')} 
					empty() 若变量已存在、非空字符串或者非零，则返回 false 值；反之返回 true。
				-->
                <if condition="empty($_SESSION['LOGINUSERINFO']) && empty($_COOKIE['my_cookie_key'])">
                  <!-- 从 Public/js/index.js 引入 -->
                  <a href='#' onclick="showTaskListLoginPage()">
                      ibeginner Todos
                  </a>
                <else />
                    <a href="{:U('Home/TaskList/index')}">
                      ibeginner Todos
                    </a>
                </if>
              </li>
              <li>
                  <a href="{:U('Home/TaskList/emberjsTodos')}" target="_blank">Emberjs Todos</a>
                </li>
            </ul>
        </li>

       
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-user"></span> About Us <b class="caret"></b></a>
          <ul class="dropdown-menu">
              <li>
                  <a href="{:U('Home/About/history')}" class="" target="_blank">建站纪实</a>
              </li>
              <!--
              <li>
                  <a href="#" class="">联系我们</a>
              </li>
				-->
              <li>
                  <a href="{:C('GITHUB')}" target="_blank">github</a>
              </li>
              <li>
                  <a href="{:C('GITOSCHINA')}" target="_blank">oschina git</a>
              </li>
              <li>
                  <a href="{:C('MY_WEIBO')}" target="_blank">作者微博</a>
              </li>
              
              <li>
                  <a href="javascript: alert('请联系QQ：1527254027');" class="">广告联系</a>
              </li>
          </ul>
        </li>
      </ul>
    
    </div><!--/.nav-collapse -->
  </div>

</div>


</html>